if(SERVER) then
	include( "server.lua" )
	include( "inventory_server.lua" )
	include( "server.lua" )
	include( "PP_server.lua" )
	include( "sv_PoRadio.lua" )
	
	//Change these to a for k,v in pairs in the folder.
	resource.AddFile( "materials/gui/POLogo.vmt" )
	resource.AddFile( "materials/gui/POLogo.vtf" )
	
	resource.AddFile( "materials/models/XQAM/HATS/Beret.vmt" )
	resource.AddFile( "materials/models/XQAM/HATS/Beret.vtf" )
	resource.AddFile( "materials/models/XQAM/HATS/Beret_normal.vtf" )
	
	resource.AddFile( "materials/models/XQAM/HATS/Top_Hat.vmt" )
	resource.AddFile( "materials/models/XQAM/HATS/Top_Hat.vtf" )
	resource.AddFile( "materials/models/XQAM/HATS/Top_Hat_normal.vtf" )
	
	resource.AddFile( "materials/models/XQAM/HATS/Knight_Helm.vmt" )
	resource.AddFile( "materials/models/XQAM/HATS/Knight_Helm.vtf" )
	resource.AddFile( "materials/models/XQAM/HATS/Knight_Helm_normal.vtf" )
	
	resource.AddFile( "materials/models/XQAM/HATS/Bunny_Ears.vmt" )
	resource.AddFile( "materials/models/XQAM/HATS/Bunny_Ears.vtf" )
	resource.AddFile( "materials/models/XQAM/HATS/Bunny_Ears_normal.vtf" )
	
	resource.AddFile( "models/XQAM/HATS/Beret.dx80.vtx" )
	resource.AddFile( "models/XQAM/HATS/Beret.dx90.vtx" )
	resource.AddFile( "models/XQAM/HATS/beret.mdl" )
	resource.AddFile( "models/XQAM/HATS/Beret.phy" )
	resource.AddFile( "models/XQAM/HATS/beret.vvd" )
	resource.AddFile( "models/XQAM/HATS/Beret.sw.vtx" )
	
	resource.AddFile( "models/XQAM/HATS/Top_Hat.dx80.vtx" )
	resource.AddFile( "models/XQAM/HATS/Top_Hat.dx90.vtx" )
	resource.AddFile( "models/XQAM/HATS/top_hat.mdl" )
	resource.AddFile( "models/XQAM/HATS/Top_Hat.phy" )
	resource.AddFile( "models/XQAM/HATS/top_hat.vvd" )
	resource.AddFile( "models/XQAM/HATS/Top_Hat.sw.vtx" )
	
	resource.AddFile( "models/XQAM/HATS/Knight_Helm.dx80.vtx" )
	resource.AddFile( "models/XQAM/HATS/Knight_Helm.dx90.vtx" )
	resource.AddFile( "models/XQAM/HATS/knight_helm.mdl" )
	resource.AddFile( "models/XQAM/HATS/Knight_Helm.phy" )
	resource.AddFile( "models/XQAM/HATS/knight_helm.vvd" )
	resource.AddFile( "models/XQAM/HATS/Knight_Helm.sw.vtx" )
	
	resource.AddFile( "models/XQAM/HATS/Bunny_Ears.dx80.vtx" )
	resource.AddFile( "models/XQAM/HATS/Bunny_Ears.dx90.vtx" )
	resource.AddFile( "models/XQAM/HATS/bunny_ears.mdl" )
	resource.AddFile( "models/XQAM/HATS/Bunny_Ears.phy" )
	resource.AddFile( "models/XQAM/HATS/bunny_ears.vvd" )
	resource.AddFile( "models/XQAM/HATS/Bunny_Ears.sw.vtx" )
	
	resource.AddFile( "models/XQAM/HATS/Party_Hat.dx80.vtx" )
	resource.AddFile( "models/XQAM/HATS/Party_Hat.dx90.vtx" )
	resource.AddFile( "models/XQAM/HATS/party_hat.mdl" )
	resource.AddFile( "models/XQAM/HATS/Party_Hat.phy" )
	resource.AddFile( "models/XQAM/HATS/party_hat.vvd" )
	resource.AddFile( "models/XQAM/HATS/Party_Hat.sw.vtx" )
	
	resource.AddFile( "materials/models/XQAM/HATS/Party_Hat.vmt" )
	resource.AddFile( "materials/models/XQAM/HATS/Party_Hat.vtf" )
	resource.AddFile( "materials/models/XQAM/HATS/Party_Hat_normal.vtf" )
elseif(CLIENT) then			//remove includes where they are not needed.
	include( "scoreboard_menu.lua" )
	include( "admin_menu.lua" )
	include( "inventory_client.lua" )
	include( "PP_client.lua" )
	include( "PP_limits.lua" )
	include( "PP_friends.lua" )
	include( "InvBag.lua" )
	include( "InvStore.lua" )
	include( "SBoard.lua" )
	include( "ScrollingNotice.lua" )
	include( "NoticeEditor.lua" )
	include( "PPInfo.lua" )
	include( "HelpMenu.lua" )
	include( "TransactionMenu.lua" )
	include( "MapMenu.lua" )
	include( "MapTimer.lua" )
	include( "AntiNC.lua" )
	
	
	function BlockSB( ply, bind, pressed)
		if !CanScoreboard or !CanF2 and string.find( bind, "showscores" ) then
			return true
		end
	end
	hook.Add( "PlayerBindPress", "BlockSB", BlockSB )
end